package com.jiyun.login.feign;

import com.jiyun.pojo.Consumer;
import com.jiyun.pojo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("day14Access")
public interface FeignConsumerService {
    @RequestMapping("consumer/consumerLogin")
    Result login(@RequestBody Consumer consumer);
}
